/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package semantics;

import syntax.Transition;

/**
 *
 * @author hicham
 */
public class RunStep {

    public RunStep(State srcState, float delay, Transition transition) {
        this.srcState = srcState;
        this.delay = delay;
        this.transition = transition;
    }
    private State srcState;
    private float delay;
    private Transition transition;

    public State getSrcState() {
        return srcState;
    }

    public void setSrcState(State srcState) {
        this.srcState = srcState;
    }

    public float getDelay() {
        return delay;
    }

    public void setDelay(float delay) {
        this.delay = delay;
    }

    public Transition getTransition() {
        return transition;
    }

    public void setTransition(Transition transition) {
        this.transition = transition;
    }

    @Override
    public String toString() {
        return srcState + " , " + delay + " :- " + transition + "***";
    }
    
    
}
